﻿namespace Stickam_Client
{
    [DesignerGenerated]
    public __gc class Form_JoinLive : public Form
    {
        // Methods
        [DebuggerNonUserCode]
        public: Form_JoinLive()
        {
            base->Load += new EventHandler __gc*(this.Form_JoinLive_Load);
            this->InitializeComponent();
        }

        [DebuggerNonUserCode]
        protected: override void __gc* Dispose(Boolean __gc* disposing)
        {
            try
            {
                if (disposing && (this->components != 0))
                {
                    this->components->Dispose();
                }
            }
            finally
            {
                base->Dispose(disposing);
            }
        }

        private: void __gc* Form_JoinLive_Load(Object __gc* sender, EventArgs __gc* e)
        {
            this->StickamURL->Text = MySettingsProperty::Settings->StickamURL;
        }

        [DebuggerStepThrough]
        private: void __gc* InitializeComponent()
        {
            this->Label1 = __gc new Label();
            this->StickamURL = __gc new TextBox();
            this->JoinLive = __gc new Button();
            this->SuspendLayout();
            this->Label1->AutoSize = true;
            Point __gc* point = (-2, 0);
            this->Label1->Location = point;
            this->Label1->Name = S"Label1";
            Size __gc* size = (0x97, 13);
            this->Label1->Size = size;
            this->Label1->TabIndex = 0;
            this->Label1->Text = S"Enter Stickam URL or ID here-";
            this->StickamURL->Font = __gc new Font(S"Microsoft Sans Serif", 12, FontStyle::Regular, GraphicsUnit::Point, 0);
            point = (1, 12);
            this->StickamURL->Location = point;
            this->StickamURL->Name = S"StickamURL";
            size = (150, 0x1a);
            this->StickamURL->Size = size;
            this->StickamURL->TabIndex = 2;
            this->StickamURL->Text = S"john_doe";
            this->JoinLive->Font = __gc new Font(S"Microsoft Sans Serif", 6.75, FontStyle::Regular, GraphicsUnit::Point, 0);
            point = (0, 0x26);
            this->JoinLive->Location = point;
            this->JoinLive->Name = S"JoinLive";
            size = (0x98, 20);
            this->JoinLive->Size = size;
            this->JoinLive->TabIndex = 3;
            this->JoinLive->Text = S"Join Live";
            this->JoinLive->UseCompatibleTextRendering = true;
            this->JoinLive->UseVisualStyleBackColor = true;
            SizeF __gc* ef = (6, 13);
            this->AutoScaleDimensions = ef;
            this->AutoScaleMode = AutoScaleMode::Font;
            size = (0x98, 0x3a);
            this->ClientSize = size;
            this->Controls->Add(this->JoinLive);
            this->Controls->Add(this->StickamURL);
            this->Controls->Add(this->Label1);
            this->FormBorderStyle = FormBorderStyle::FixedToolWindow;
            size = (0x9e, 0x52);
            this->MaximumSize = size;
            size = (0x9e, 0x52);
            this->MinimumSize = size;
            this->Name = S"Form_JoinLive";
            this->StartPosition = FormStartPosition::Manual;
            this->Text = S"Join Live";
            this->ResumeLayout(false);
            this->PerformLayout();
        }

        private: void __gc* JoinLive_Click(Object __gc* sender, EventArgs __gc* e)
        {
            MySettingsProperty::Settings->StickamURL = this->StickamURL->Text;
            this->FormParent->doJoinLive(this->StickamURL->Text);
            this->Close();
        }


        // Properties
        [DebuggerNonUserCode]
        public private: __property virtual Button __gc* get_JoinLive()
        {
            return this->_JoinLive;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_JoinLive(Button __gc* WithEventsValue)
        {
            EventHandler __gc* handler = new EventHandler __gc*(this.JoinLive_Click);
            if (this->_JoinLive != 0)
            {
                this->_JoinLive->Click -= handler;
            }
            this->_JoinLive = WithEventsValue;
            if (this->_JoinLive != 0)
            {
                this->_JoinLive->Click += handler;
            }
        }

        [DebuggerNonUserCode]
        public private: __property virtual Label __gc* get_Label1()
        {
            return this->_Label1;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_Label1(Label __gc* WithEventsValue)
        {
            this->_Label1 = WithEventsValue;
        }

        [DebuggerNonUserCode]
        public private: __property virtual TextBox __gc* get_StickamURL()
        {
            return this->_StickamURL;
        }
        [MethodImpl(MethodImplOptions::Synchronized), DebuggerNonUserCode]
        public private: __property virtual void __gc* set_StickamURL(TextBox __gc* WithEventsValue)
        {
            this->_StickamURL = WithEventsValue;
        }


        // Fields
        [AccessedThroughProperty(S"JoinLive")]
        private: Button __gc* _JoinLive;
        [AccessedThroughProperty(S"Label1")]
        private: Label __gc* _Label1;
        [AccessedThroughProperty(S"StickamURL")]
        private: TextBox __gc* _StickamURL;
        private: IContainer __gc* components;
        public: Form1 __gc* FormParent;
    };
}

